<?php

class Rcp_Methods_Response_GetLectures {

  /**
   *
   * @var Rcp_Methods_Data_ResponseStatus
   */
  public $responseStatus;

  /**
   *
   * @var Rcp_Methods_Data_Lecture[] 
   */
  public $lectures;

  public function __construct($lectures, $status = true) {
    $this->responseStatus = new Rcp_Methods_Data_ResponseStatus($status);
    foreach ($lectures as $lecture) {
      $this->lectures[] = new Rcp_Methods_Data_Lecture($lecture);
    }
  }

}
